import Vue from 'vue'
import FastClick from 'fastclick'
import router from '@/router'
import { ConfirmPlugin, AlertPlugin, ToastPlugin, WechatPlugin } from 'vux'
import App from './App'

// 注冊全局confirm
Vue.use(ConfirmPlugin)
Vue.use(AlertPlugin)
Vue.use(ToastPlugin)
Vue.use(WechatPlugin)

// 解决移动端点击延迟300S事件
FastClick.attach(document.body)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  // components,
  router,
  render: h => h(App)
}).$mount('#app-box')
